package com.project.logging.service.serviceImpl;

import com.project.logging.beans.OpLog;
import com.project.logging.dao.OpLogDao;
import com.project.logging.service.OpLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "OpLogService")
public class OpLogServiceImpl implements OpLogService {

    @Autowired
    OpLogDao opLogDao;
    @Override
    public int addLog(OpLog opLog) {
        return opLogDao.addLog(opLog);
    }
}
